//
//  ConversationListTableViewCell.h
//  TIMChat
//
//  Created by AlexiChen on 16/2/18.
//  Copyright © 2016年 AlexiChen. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ConversationListTableViewCell : UITableViewCell
{
@protected
    UIImageView    *_conversationIcon;
    UILabel     *_conversationName;
    UILabel     *_lastMsgTime;
    UILabel     *_lastMsg;
    UIButton    *_unReadBadge;
    UIView      *_backView;
    CAGradientLayer *_gradientLayer;
@protected
    __weak id<IMAConversationShowAble> _showItem;
}

- (void)configCellWith:(id<IMAConversationShowAble>)item withUser:(IMAUser *)user;

- (void)refreshCell;

//获取未读条数
- (NSInteger)getUnReadCount;

//标记是否已读
- (void)markReaded;

@end
